<template>
  <div class="login-container flx-center">
    <div>
      <SwitchDark class="dark" />
      <WavesBg></WavesBg>

      <div class="login-box">
        <div class="login-left">
          <img class="login-left-img" src="@/assets/images/login_left.png" alt="login" />
        </div>
        <div class="login-form">
          <div class="login-logo">
            <img class="login-icon" src="@/assets/images/logo.svg" alt="" />
            <h2 class="logo-text">Admin</h2>
          </div>
          <LoginForm />
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import LoginForm from "./components/LoginForm.vue";
import SwitchDark from "@/components/SwitchDark/index.vue";
import WavesBg from "@/components/WavesBg/index.vue";
</script>

<style scoped lang="scss">
@import "./index.scss";
</style>
